
package com.bei_en.teacher.admin.model.order.vo;

import java.util.*;
import com.bei_en.teacher.admin.model.order.bean.OrderBasic;
import com.bei_en.teacher.admin.model.BaseVo;
import javax.validation.constraints.*;
import org.hibernate.validator.constraints.*;
import java.math.BigDecimal;

/**
 * 用于前端页面数据传递
 * （订单）
 * @author Guocg
 * @date 2016-12-22 9:44:24
 */
public class OrderBasicVo extends BaseVo {

    private OrderBasic orderBasic;

    public OrderBasicVo() {

    this.orderBasic = new OrderBasic();
    }

    public OrderBasicVo(OrderBasic orderBasic) {

    this.orderBasic = orderBasic;
    }
    
    public OrderBasic getOrderBasic() {

    return this.orderBasic;
    }
    
    public void setOrderBasic(OrderBasic orderBasic) {

    this.orderBasic=orderBasic;
    }

        public Integer getId() {
            return this.orderBasic.getId();
        }
        public void setId(Integer id) {
            this.orderBasic.setId(id);
        }
        
   
        
        public void setOrderNum(String value) {
    	this.orderBasic.setOrderNum(value);
        }
	@Length(max=255)
    public String getOrderNum() {
        return this.orderBasic.getOrderNum();
    }
        
        public void setPayTime(Integer value) {
    	this.orderBasic.setPayTime(value);
        }
	@NotNull 
    public Integer getPayTime() {
        return this.orderBasic.getPayTime();
    }
        
        public void setOrderType(Integer value) {
    	this.orderBasic.setOrderType(value);
        }
	@NotNull 
    public Integer getOrderType() {
        return this.orderBasic.getOrderType();
    }
        
        public void setConsultationId(Integer value) {
    	this.orderBasic.setConsultationId(value);
        }
	
    public Integer getConsultationId() {
        return this.orderBasic.getConsultationId();
    }
        
        public void setUserId(Integer value) {
    	this.orderBasic.setUserId(value);
        }
	
    public Integer getUserId() {
        return this.orderBasic.getUserId();
    }
        
        public void setPaymentTime(Integer value) {
    	this.orderBasic.setPaymentTime(value);
        }
	
    public Integer getPaymentTime() {
        return this.orderBasic.getPaymentTime();
    }
        
        public void setPaymentGateway(String value) {
    	this.orderBasic.setPaymentGateway(value);
        }
	@Length(max=64)
    public String getPaymentGateway() {
        return this.orderBasic.getPaymentGateway();
    }
        
        public void setPaymentNumber(String value) {
    	this.orderBasic.setPaymentNumber(value);
        }
	@Length(max=64)
    public String getPaymentNumber() {
        return this.orderBasic.getPaymentNumber();
    }
        
        public void setDescription(String value) {
    	this.orderBasic.setDescription(value);
        }
	@Length(max=64)
    public String getDescription() {
        return this.orderBasic.getDescription();
    }
        
        public void setOrderAmount(Double value) {
    	this.orderBasic.setOrderAmount(value);
        }
	@NotNull 
    public Double getOrderAmount() {
        return this.orderBasic.getOrderAmount();
    }
        
        public void setStatus(Integer value) {
    	this.orderBasic.setStatus(value);
        }
	@NotNull @Max(127)
    public Integer getStatus() {
        return this.orderBasic.getStatus();
    }

        
        public void setCreateTime(Date value) {
    	this.orderBasic.setCreateTime(value);
        }

    public Date getCreateTime() {
        return this.orderBasic.getCreateTime();
    }

        
        public void setUpdateTime(Date value) {
    	this.orderBasic.setUpdateTime(value);
        }

    public Date getUpdateTime() {
        return this.orderBasic.getUpdateTime();
    }
    


}